﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ST.Torch.WebApi.Core.Entities.System
{
    /*
    public class SYSRoleUser : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<SYSRoleUser>
    {
       public Guid UsersId { get; set; }
        public virtual SYSUser Users { get; set; }

        public Guid RolesId { get; set; }
        public virtual SYSRole SYSRole { get; set; }

        public void Configure(EntityTypeBuilder<SYSRoleUser> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
            entityBuilder.ToTable("SYSRoleUser");
            entityBuilder.HasKey(u => new { u.UsersId, u.RolesId });

        }
    }
    */

}
